SWEP.Author 		= "Tezzanator"
SWEP.Instructions 	= "Point and shoot"
SWEP.Contact 		= ""
SWEP.Purpose 		= "Single use health refill"
 
SWEP.AdminSpawnable = false
SWEP.Spawnable 		= false
 
SWEP.ViewModelFOV 	= 64
SWEP.ViewModel 		= "models/weapons/v_bugbait.mdl"
SWEP.WorldModel 	= "models/weapons/w_bugbait.mdl"

SWEP.HoldType = "Pistol"
SWEP.ReloadSound = "weapons/pistol/pistol_reload1.wav"

SWEP.base = "weapon_base" 

SWEP.Primary.Sound = "weapons/bugbait/bugbait_squeeze1.wav"
SWEP.Primary.Damage = 2
SWEP.Primary.TakeAmmo = 1
SWEP.Primary.ClipSize = 1
SWEP.Primary.Ammo = "HelicopterGun"
SWEP.Primary.DefaultClip = 1
SWEP.Primary.Spread = 0.1
SWEP.Primary.NumberofShots = 1
SWEP.Primary.Automatic = false
SWEP.Primary.Recoil = 10
SWEP.Primary.Delay = 10
SWEP.Primary.Force = 1000

SWEP.Secondary.ClipSize = -1;
SWEP.Secondary.DefaultClip = -1;
SWEP.Secondary.Automatic = false;
SWEP.Secondary.Ammo = "none";


-- aware of gamemode specifics, such as stats.
-- LEts load them now
function SWEP:Equip( NewOwner )

end

function SWEP:PrimaryAttack() 
	if ( !self:CanPrimaryAttack() ) then return end 
 
	self:TakePrimaryAmmo(self.Primary.TakeAmmo) 
	self:SetNextPrimaryFire( CurTime() + self.Primary.Delay )
	self:SetNextSecondaryFire( CurTime() + self.Primary.Delay ) 
	
	self.Owner:SetHealth(self.Owner:GetMaxHealth())
end 
